From 187bb0ad9ac725d2dcc803fff56d834966463c66 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Thu, 5 Apr 2018 06:04:45 -0700 Subject: [PATCH] Don't use .arg() in test. --- tests/testsuite/doc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsuite/doc.rs b/tests/testsuite/doc.rs index e3ca13e92..b1ea625fc 100644 --- a/tests/testsuite/doc.rs +++ b/tests/testsuite/doc.rs @@ -1488,7 +1488,7 @@ fn doc_edition() { .build(); assert_that( - p.cargo("doc").arg("-v").masquerade_as_nightly_cargo(), + p.cargo("doc -v").masquerade_as_nightly_cargo(), execs() .with_status(0) .with_stderr_contains("[RUNNING] `rustdoc [..]-Zunstable-options --edition=2018[..]"), -- 2.30.2